package group2.mapper;

import group2.model.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 周祖航
 * @date 2020/8/19 001911:47
 **/
@Repository
public interface BookMapper {
    //查所有
    public List<Book> selectAll();
    //删除
    public boolean delBookById(int id);
    //书籍添加
    public boolean addBook(Book book);
    //条件查询
    public List<Book> selectBook(Book book);
    //分页查询

}
